﻿namespace DbTeleportáció
{
    /// <summary>
    /// Defines HFT standards compliant exit codes that can be returned by the application
    /// </summary>
    /// <remarks>
    /// -------------------------------------------Change Log---------------------------------------------
    /// 04/01/2016 - DCS - Created
    /// --------------------------------------------------------------------------------------------------
    /// </remarks>
    enum ExitCodes
    {
        Success = 0,
        FailedToDeleteUncompressedFiles = 2,
        InvalidCommandLineArguments = 300,
        FailedToCreateFileDropDirectory = 301,
        FailedToDeleteFilesInDropDirectory = 302,
        FailedToDeleteDirectoriesInDropDirectory = 303,
        FailedToCompressExtractedData = 304,
        FailedToEnumerateUncompressedFiles = 305,
        UnableToConnectToDatabaseOrInvalidConnectionString = 306,
        FailedRetrievingTablesInDatabase = 307,
        FailedWritingRecordToFile = 308,
        FailedWritingHeaderToFile = 309,
        UnexpectedException = 999
    }
}
